package com.ge.mythreed.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 营销对象信息
 *
 * @author sz
 * @TableName pm_promotion_targetlist
 */
@Data
@TableName(value = "pm_promotion_targetlist")
public class PmPromotionTargetlist implements Serializable {

    private static final long serialVersionUID = 982512209641135171L;
    /**
     * 主键
     */
    @TableId(value = "PPTL_ID", type = IdType.AUTO)
    private Integer pptlId;

    /**
     * 营销对象组编号
     */
    @TableField(value = "PPTL_CODE")
    private String pptlCode;

    /**
     * 营销编号
     */
    @TableField(value = "PROMOTION_CODE")
    private String promotionCode;

    /**
     * 营销对象code(根据对象编号 来获取是会员组 标签 会员的code)
     */
    @TableField(value = "TARGET_CODE")
    private String targetCode;

    /**
     * 营销对象类型标签（对应的属性code）
     */
    @TableField(value = "PPTL_TYPE")
    private String pptlType;

    /**
     * 营销对象名称
     */
    @TableField(value = "PPTL_NAME")
    private String pptlName;

    /**
     *
     */
    @TableField(value = "DATA_STATE")
    private Integer dataState;

    /**
     * 创建时间
     */
    @TableField(value = "GMT_CREATE")
    private Date gmtCreate;

    /**
     * 更新时间
     */
    @TableField(value = "GMT_MODIFIED")
    private Date gmtModified;

    /**
     * 卖家CODE
     */
    @TableField(value = "MEMBER_CODE")
    private String memberCode;

    /**
     * 卖家名称
     */
    @TableField(value = "MEMBER_NAME")
    private String memberName;

    /**
     * APP CODE
     */
    @TableField(value = "APPMANAGE_ICODE")
    private String appmanageIcode;

    /**
     * 租户CODE
     */
    @TableField(value = "TENANT_CODE")
    private String tenantCode;

    /**
     * 条件 默认=   < >  !=
     */
    @TableField(value = "PPRL_TERM")
    private String pprlTerm;

    /**
     * 用户代码
     */
    @TableField(value = "USER_CODE")
    private String userCode;


}